package com.jp.kefu.web.controller;

import com.jp.kefu.service.ApiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.multipart.MultipartHttpServletRequest;

/**
 * @author lijin
 */
@RestController
@RequestMapping("/api")
public class ApiController {
    @Autowired
    private ApiService apiService;
    @RequestMapping
    public String api(MultipartHttpServletRequest request){

        apiService.doRequest(request);
        return "";
    }
}
